<?php
//include 'options.php';
error_reporting(E_WARNING);
if($_SESSION['loggeduser']['accesslevel']){
    die("<script>window.location='?page=".$_SESSION['loggeduser']['paginaprincipal']."'</script>");
}
?>
<div class="login-container">
<table>
<!--<form id="login-form" name="login" method="post" action="./?page=sgpat">--></form>
<form id="login-form" name="login" method="post">
<tr><td>Usuário </td><td><input id="username"type="text" name="username" /></td></tr>
<tr><td>Senha </td><td><input id="password" type="password" name="password" /></td></tr>
<!--<td><input id="btn-login" type="button" value="Login" /></td><td><input id="btn-register" type="button" value="Registrar" /></td></tr>-->
<tr><td></td><td style="text-align: right"><input id="btn-login" type="submit" value="Login" onclick="return false;"/></td></tr>
</form>
</table>
</div>